better version of document