pass id's instead of objects directly