UI + gate view controller