corrected wait times
RERR bugfix

if (case 1); *else* if (case 2)