handles nan by just ignoring it