finding the right id using underscore function