more work on registration