finished the sendstatus feature