add: optimality scoring functions
test readablity: removed map() call