added more methods for accessing fields of document