Added clear line function. problem clearing multiple lines at once