Updated to match tutorial copy