change timeEmpty to 10 seconds