updated inheritance of attributes