inheritance works.