working on registration problems