enhanced prototype doc finished