Added more detail to the comments; updated method parameters