handle passing in a list of comma-separated ids