pass annotations via parameters