moved callback from method