tucao logic