map Array methods
change method order
add test cases