ping-pong detection still not working as far as i can see, added in a file with a copy of the out for debugging