code reflects new callback function in baker