add resource annotation