minor commenting done