Change inherit way