code with delay

code with delay