working on gate