now returning foreign key id