changed arguments for vec_sim