implement clearscreen