First pass end-to-end implementation