corrected start over logic