smoothing out table function, still a way to go