add class to info box