added class to represented nodes