[#10] use map function in load method