adding gems
changes for registers and a few of tests