Removed temp code iin register2