updated comments on code operation