Some work on the gate operation