final doc stuff