registering entities