adding logs to Attr.java