@stimp1024: The logic used