Adds StateBased Milestone Pattern