add waitFor for each step