Generalize to Generic vectors