Implemented register()