https://gist.github.com/tybenz/7c97fd18297b6ddceda2 added to shortener