change map module to simple array