lowered the waiting time and removed the data var