Added a new callback function
merge