REFACTOR: renamed ksec to tfh