started work on registration library