add class figure