amatch implemented