Implemented basic registration