detect annotations