clearing logic