small tweak to coursera code