removed debug print and execute function now returns a list of matches