creating structure to get mapping