y, myCursor.width, myCursor.height);
				
					//retrieve all objects in the bounds of the hero 
					candidates = myTree.retrieve(myCursor);
					
					//flag retrieved objects
					for(i=0;i<candidates.length;i=i+1) {
						candidates[i].check = true;
					}
				}

				updateCandidatesInfo(candidates);
				
				
				drawQuadtree(myTree);

				drawObjects();
				
				requestAnimFrame(loop);
			};


			var updateTotal = function() {

				cnt_total.innerHTML = myObjects.length;
			}
