picks up id of record