updates readme with waitFor example