annotate images method defined