format class inspect