Removed delay function

Delay function was accidentally left in from testing