add another util for resending data