first cut at getting to the premises ids