Vector API(not optimized).