Prepare for format functions in main