We solve the inverse nodal problem of determining the smoothness of the potential function q of the Sturm-Liouville problem using only nodal data. We also give a simple and direct reconstruction formula for any q epsilon L-1(0, 1) that improves an earlier result of Yang.