removed console stream statements