added answer initializing var