now array entities work