text: // Costs variables
  
  var healthInsurance = 0;
  var autoInsurance = 0;
  var software = 0;
  var etc = 0;
  var costSum = 0;
  
  // Business Overhead variables
  var businessRent = 0;
  var businessInsurance = 0;
  var businessEtc = 0;
  var overhead = 0;
  
  // Personal variables
  var rent = 0;
  var utilities = 0;
  var inPocket = 0;
  var pocketOverhead = 0;
  
  // Rates variables
  var employmentRate = 0;
  var taxRate = 0;
  var processingRate = 0;
  
  // Calcs variables
  var income = 0;
  var hoursWorked = 0;
  var hourlyRate = 0;
  
  $("#business-overhead-text").html("<b>Expenses: </b> $" + costSum);
  $('#exampleModalCenter').hide();
  
  // Click event to add group members to firebase 
  $("#calculate-rate").on("click", function (event) {
      event.preventDefault();
  
      if ($("#health-insurance").val() === "" || $("#auto-insurance").val() === "" || $("#software").val() === "" || $("#etc").val() === "" || $("#business-rent").val() === "" || $("#business-insurance").val() === "" || $("#business-etc").val() === "" || $("#rent").val() === "" || $("#utilities").val() === "" || $("#employment-rate").val() === "" || $("#tax-rate").val() === "" || $("#processing-rate").val() === "" || $("#hours-worked").val() === "") {
          //$('#myInput').trigger('focus');
          $('#\\#myModal').modal('show');
  
      } else {
  
      // First Section
      healthInsurance = parseInt(document.getElementById("health-insurance").value);
      autoInsurance = parseInt(document.getElementById("auto-insurance").value);
      software = parseInt(document.getElementById("software").value);
      etc = parseInt(document.getElementById("etc").value);
  
      costSum = healthInsurance + autoInsurance + software + etc;
  
      $("#business-overhead-text").html("<b>Expenses: </b> $" + costSum.toFixed(2));
  
      // Second Section
      businessRent = parseInt(document.getElementById("business-rent").value);
      businessInsurance = parseInt(document.getElementById("business-insurance").value);
      businessEtc = parseInt(document.getElementById("business-etc").value);
  
      overhead = businessRent + businessInsurance + businessEtc;
      $("#second-overhead").html("<b>Expenses: </b> $" + overhead.toFixed(2));
  
      // Third Section
      rent = parseInt(document.getElementById("rent").value);
      utilities = parseInt(document.getElementById("utilities").value);
  
      inPocket = 3 * (rent + utilities);
      var costAll = costSum + overhead + inPocket;
      pocketOverhead;
      $("#in-pocket").html("<b>In Pocket: </b> $" + inPocket);
      $("#pocket-overhead").html("<b>In Pocket + Overhead: </b> $" + costAll.toFixed(2));
  
      // Fourth Section
      employmentRate = parseInt(document.getElementById("employment-rate").value);
      taxRate = parseInt(document.getElementById("tax-rate").value);
      processingRate = parseInt(document.getElementById("processing-rate").value);
  
      var incRequired = costAll / (employmentRate / 100) / (1 - (taxRate / 100)) /(1 - (processingRate / 100));
      $("#inc-required").html("<b>Income Required: </b> $" + incRequired.toFixed(2));
  
      // Final Spot
      hoursWorked = parseInt(document.getElementById("hours-worked").value);
      hourlyRate = incRequired / hoursWorked;
      $("#hourly-rate").html("<b>Hourly Rate: </b> $" + hourlyRate.toFixed(2));
      
  
  }
  });