inheritance spec