Fixed flow. Ready for test. Added example.