removed erroneous console logging