updated this so it works with office word 2013