removed vectorization