Branched from original gas app and modified for one gas.