added initializing variables in array