rearranged struct rendering