some reformatting here, and link to the github repo