Added method to clear the current line