entities array must always exist