adding object registry stuff