implementation of _.map done!