var gasConsumed declared and assigned .