Added clr input to registers