Inherit didn't work