Added match.java interface