Array in struct works