Gas transfer function