working on doc system; milestone 2