Added one more example with guards, fixed typos and identation.