Provider tsts and some logic