Removed redundant console.logs