Registration finally works