changed clear functionality to act like a pause