wretched doc