Now used tf directely instead of getting info from smk rep.