Tried to implement lineclearing-failed miserably.