updated match case