No need foreach for array($entities)