obtained by using the two gate combinations