Which sequence properly assesses fasting intention?

Kitab al-Sawm: Categories of Fasting and Rules of Intention