Added match interpret alogrithm