I copied the callback function of the feed module.