format class