added doc generator