tree: implement matchdays