format and organize import