Implemented blink function