Create struct all at once rather than initializing each member separately