call correct static method on retry
remove println and add output to result