It's a mess, but now it works.