looped out all nan functions, still no tests