add waitFor commands