ensure class is instantiated