It's better to ensure vars is an array in initializer than in if checks