clean up, and integration with actual spreadhseet.