Repurposed Database interaction to decrease runtime