Blink detection 1.0