inherit does not work