having dinner, this is as far as i got, problem with 0th index when
getting id