added a walkthrough, made small changes to code