working on Register