latency compensation - closes #1