udpated tutorial based on recent changes