added code for clearline