added traceback support to algebras code