Add price paths function