well, now it is okay. but another problem is like that: after switch on Arduino power and when input goes high then immediately output_1 goes to High. But after that if i press the Arduino reset button then it wait one cycle Output_1 as low although input is HIGH. other than that code is working perfectly. thanks for your help.