added examples
clean up source