compund sentence

I went to the store to buy some groceries, and then I stopped by the bookstore to pick up a new novel.