document works