convert wait times to seconds