This repo contains functions written by Victor Lu