get attributes with messages