removed 0 register and tweaked the way registers were allocated