finally got macro annotation working