adding clear line function