added the support for fav callback if available