Added 1ms delay