moved the draw code to a method that will run no matter what