added callback to base class