creating doc