using gist for code sample