added subviews inheritance