Switch from addEntity to addEntities.