remove extraneous spaces
clean up MVC for readability