Modified README added callback function