Clearing method updated