It works! (With some hacks)