correctly export struct helpers