minor text changes
minor text changes
made changes so that verification is correct
minor change to parameter name
amended indentation and corrected close function
single indentation change