edited some more comments for clarity