made edits to reflect comments