removed legacy callback