working on doc system, testing code in windows