style changes to detachment