cleaned up console.log