Working on register selection