Ooops, assumps code was wrong, infinite loop