initialize variables in struct