added get currentMathces func & karma testing sutie