reorganizing layout