removed registration code to use default registration