started smoothing; added more output options