removed unnecessary delay in console log