updated for compatibility with older verisons of Microsoft word