add vector to function name