gate agreement