added tutorial functionality