Text this: Fitting smooth functions to data /