add generate fragments and send