example gates