Added contribution from Pedro Lopez (http://github.com/plafl/Travel-Intelligence).