example use map as struct

just documentation