Code compiles and runs properly.