i'm refactoring the whole database btw... so i can more easily put it into my code, the problem i ran into this morning was i was using closures inside functions that were maknig locks and i didn't really need that to be there, or more exactly, it stopped me from calling functions within functions, because of the locks