Ah yeah, this is actually just moved legacy code but I'll clean it up