added framework for gas tricks