Create Gas

Added logical statement