where would the match statement be exactly?  i might be missing something obvious? can oyu explain with pseudocode?