Got the registeration to work