Adding smoother plotting