generate reply before learning