set up tutorial logic