better style and format foo