adding to register