added documentation code clean-up