Bob smelled something foul.
He took out the garbage and the house smelled normal again.
Bob realized the smell was old garbage he had just taken out.
Bob realized the smell was old garbage he forgot to take out.