Completely untested base logic...like I havent even ran this shit