removed the 10ms delay