inheritance doesn’t work