The basic idea you're trying to teach is correct, but it got mucked up when you implicitly equated "legal" with "honest".
Regards, Glenn