reshuffled logic.py, added identical method (need to test this), broke the wrap function briefly, broke the parser even more, basically nothing works WORST COMMIT EVER