added format customize support