yeah again this is pasted from the old repo, I'll make some small changes but I would prefer not to change too much or I would prefer to make more cleanup changes in a different PR.