enable callback function