refractor entities