better approach for sections