supplementary exercise creating struct on the stack