made some changes to toturial3