maybe unregister instead of unRegister?