kill some looping code