walked through all of code