added wait times to refresh screen