added documentaiton to program