changed NAs to -1