Added line clear function