added documentation handling