factorized callback which launch analyze