moved Tprocess class around