Sentence 1: Alec kept waking up with pain in his stomach. 
 Sentence 3: At first it was really hard to change his eating habits 
 Sentence 4:  He came up with a reward system 
 Sentence 5:  With that in place, he did alright 
 Given Sentence 2: He realized that he needed to change his diet.