added demos, fixed typos