undated

ck previous work
added 2nd if statement

if statement gasCapacity