Some changes to make our curve more smooth