add console.log on predefined change