For gas prblem