introduced wait period into wait mode activation