Added clearScreen function