added match structure