format factory