Ugly but working. Funny. Nice results with quality = 5