Use event listeners for more decisions.