added  TT getting from DB workarounds (not implemented/half-ready)