adding in blink function