adding map to struct .