Formatting and a main controller