a13a = [a13a_ex, a13a_ag, a13a_ict, a13_ap].filter (option) -> option isnt "not in sector" a13b = [a13b_ex, a13b_ag, a13b_ict, a13_ap].filter (option) -> option isnt "not in sector" score = (array) -> return 0 if array.length == 0 total = array.reduce ((sum, element) -> sum + element), 0 total / array.length (score(a13a) + score(a13b))/2