added deregister struct