uploaded revised version from class