Started an anonymous function. Need to figure out rest of code.