added a little code documentation