initial work on registration