when to use was in a sentence