Moved drawLine below dependent vars for clarity