new way to calculate tip curve