Adding a waitFor command
whitespace fix