Added comment and renamed 2 parameters