changing blinking implementation