added thanks and link to gist