add arrays for entities.