added depth to the explain example and minor cleanup
expanded explain function details
documentation update