initial support for retrieving data for multiple ids