first working version of puretext