Add missing var and consolidate lines 3 and 4.