added documentation in doc