Add callback function to fetch case