refactor clear_screen and placement