reorganizing application