sentence: We stopped at hotels to have food and just in case any of us felt hungry , we purchased some snacks just before the trip .
modified: We have stopped at hotels for having food and just in case if any of us feels hungry , we have purchased some snacks just before the trip .
transformation: VERB:TENSE, PART, VERB:FORM, PREP, VERB:TENSE, VERB:TENSE