First end-to-end working version