working on NAs in the beginning of the vector