change waitTime back to 5