var x, y, Laggy, StartXP, {CoursesDone} : Integer; take out { } these things to make the range guilder work