Made some minor changes to the nesi class in the code