NOE: corrected the funcional form