change how waiting is done