Pulled example 6 and added comments for clarification.