I went back and added some comments to my personal function.