Should replace map with array