changed types of Vec and Complex to non-free