move inherits to foundation