let's make it so we have a way to integrate it with sql in later stages. PLEASE FIX the "fstring" in the js and the id to balance sequence