use example from github instead of gist