raw format class implemented