Implement the registration