Isn't tileCoordKey declared twice?