put in stashed code
more specs
added helper for fetching id:name lists