small updates & Tmaze trialfun