document methods