corrected 3 small errors