remove unecessary map method