used Collection.map instead of built in array.map