got some registration stuff implemented