how to read value in structure