aggregating same name attributes when multiply declared in constructor