finished annotating the code in readme