Adding label detection