working on RatTerm