added class to palette