added tf sample