complete basic match function using .exe