small modifications
added examples