Take 2 on the gist link