Added Register Clear Function