add doc writting -- query word