modified script3.cs