format and reorganizing