 const float visibleTime = 2000;
 const float idleTime = 250;
 
+Target * targets[lenTargets];
+Target * currentTarget = NULL;
+
 void setup(){
-  Serial.begin(9600);
-}
-
-void loop()
-{
-	Target * currentTarget = NULL;
-	Target * targets[lenTargets];
-	int t;
+	Serial.begin(9600);
 
 	for(int i=0; i<lenTargets; i++)
 	{

	delete *targets;

	return;
}





	}

	srand (now());
}

void loop()
{
	while (true) 
	{
		if (currentTarget) {
