Made vast improvements on speed for clear operation