add class format
format class