add local method in tt