moved draw() function inside init() for easier access to variables and such things