done making edits to the code for Friday Aug 21