Attempting to make stuff not async with the sync lib, get rid of these stupid promises