small change
delay function removed