expression with conditional for gas miles