Corrected not enough logic