basic demo of a vector of objects