Formatting largely done