updated final doc