Add Problem 6. Dirty, but not so bad.