added clear_screan fuction and code cleaned