trial and error for attributes merging