worked out some registration functions /zeus