register implemented, and tested, and passing test