Added waitForinstructions example