a better name for q would be startOfMatch. Will change and update.