inheritance task v3