updated comments on b functionality
updated comments of b functionality