Add some comments, rename some variables