Extract smoothing to own method
Remove tabs