Made changes to nis.hs