inheritance fixed