Refactor code. use the map method instead of the inject method