The conditional definition of the "np" variable didn't make any sense. It was