Solved 2010 problem S3: Firehose