add attachment class