A working prototype of TC alg R refclass implementation