setting title of doc