Dylan solution to #2