add baisc map logic and the test data