Any thoughts on a simpler example function?  This is fine if not, just a thought.