inheritance 4-7 added