Added blink function

Added blink function