changed some comments to reflect proper parameters (thanks Jiayi)