try with 3d array map