cleaned the rfg.tm from unnecessary comments and methods