use ANDGateway