work on promise for array
0.1.2