updated clearing simple