converted document to handle new location