gate and targets