removed a redundant console log