gates work