add mapping pattern