created method to unregister models