removed unused callback function