Added code snippets and tweaked some copy