A couple of vector functions