example and misc edits

Signed-off-by: John Liu <johnnnpl@gmail.com>