lol there is source code as a gist