inheritance 4-7 not finished