infinite loop crashing the shit out of my laptop