nearly final draft of app and doc