up to part 2 of tutorial