added some registering stuff