Ugly as hell, but it works. Need some love.