Add function to build action callback
Renaming