change these to use QVector, also consider using a QVector<> of a struct that includes the age and the sample, so you don't have to maintain two vectors.