I see maxy instead of maxy% on line 5. That would give you an undefined variable error. If that doesn't work try moving option strict up to line 1, and let me know if you get a different error message.