Get basic struct type working