Format Sample class