It works! Just needs some cleanup, perhaps.