Can you move the change handler into a separate function?