map_stat() now has basic functions