renamed input from Nadir
and now to get it really right