added tbool