minor changes only removed console log