Changed to successfully compile in Eclipse