adjust and allow for variable wait times