But, do we have to use just the simple past and past perfect or can we use other tenses but with the same logic. In other words, can I say: I was going to buy a flower when I had realized I did not have money or even I remembered that I had to buy a flower when I had ...