Added a logic smoother.