Added flexible seglen and flow and t and T