fixing stupid bug where I didn't return anything after formatting.