Started to document teh code