added examples, and fixed a bug in get-call-components