added addworddiagonal