inherit from the right class