change sections to rows