processAttributes() added