simplify a lot and do not use *magick, temp or promises (because it's all sync now).