removed console writelines