enhanced prototype doc and changes to end-to-end