inheritance-child set their own properties