update for tutorial 2