There are so many anonymous functions I can't even tell what this is for. Please try to clean up all of these sections.