complete vectorize()