They had been talking for over an hour before Tony arrived. She had been working at that company for three years when it went out of business. How long had you been waiting to get on the bus? Mike wanted to sit down because he had been standing all day at work. James had been teaching at the university for more than a year before he left for Asia.