ids could be int/long