Work on gates