prepares to clear