remove threading, use handmade pdf