created anew component for message labels