npv routines added
npv routines added