using macro inside the case.