apply to the new layout