a set of four different gates