added basic match getting functionality