making struct members exportable