added more comments, plus replaced some  with