organized and commented FinishCallback related code