added sources fxn
added examples for sources fxn