data)
            send_request("DELETE", "/remove-outputs", body, "removeSpinner")
        }

        // function to retrieve all outputs currently in the database
        function get_outputs() {
            const xhr = new XMLHttpRequest();
            xhr.open("GET", "/get-outputs");
            xhr.setRequestHeader("Content-Type", "application/json; charset=UTF-8");
            xhr.onload = () => {
                if (xhr.readyState == 4 && xhr.status == 200) {
                    const runs = JSON.pars