Remove console.log to prevent infinite loop