\documentclass[a4paper,12pt]{article}
%\usepackage{fancybox}
\begin{document}
\tableofcontents
\section{first}
\label{sec:first}


\section{second}
\label{sec:2}


\subsection{second part 1}
\label{sec:2a}



\end{document}
