Created a program that implements a target-action callback