add enter_to_send fn