added brief and detailed doc parsing