lpg functions