adding pictures and comments to the code