added key and value for map