completed TransBelief class - all tests pass