for testing
kernel smoothing is now ok