extracted TR method outside public main one