added skeleton for topic match class, feel free to change