changed to 5 sec wait time