added a comment for square gating