simplified match case