change the structrue of gasapp