modified GHJ

added getAttribute