removed all logging through console writeline