added the module for the gate1