some small corrections and improvements during course