first cut at getting pastEntities() working