added comments on method 1