relay class enhanced by condition table