created save/load for vectors