genstruct moved into auto