Moved the triggerCallback function
Corrected the triggerCallback function
Cleanup