Adding pseudocode for form matching strategy.