updating post to better understand code sections