small optimazation in clear screen
added single print function