added class and attribute