added collision checking--doesn't add a significant amount of latency on a relatively powerful machine