vectorization of operations
no big change