Actually works now :D not well, but works