It's ugly but it mostly works.