use a vector instead