use a vector for the source list - it does this resizing for you