adding hooks for blink