added and expanded comments