Parse valid steps correctly