made screen_size a local variable inside clear_screen