implement conditional instructions