some blink code and scott harden's test code