simplify example codes in README