simplify translation of true and false