blink_code method