change this to expectedSchema.size so you won't need to change it again.