adding class to parsing messages