added custom format class