entities array stuff