added ability to add new doc