Added nan inf lab