adding state value to map