import and format