adding base to register