format
added vectorization test, passing