private void traverse() {
		// TODO Auto-generated method stub
		List<SootMethod> first_node = graph.getHeads();
		if(first_node.size()>1){
			return;
		}
		queue.add(first_node.get(0));
		methods_already_seen.add(first_node.get(0));
		
		while(!queue.isEmpty()){
			SootMethod m = queue.remove();
			//process m
			
			for(Object succ: graph.getSuccsOf(m)){
				SootMethod succ_m = (SootMethod)succ;
				if(!methods_already_seen.contains(succ_m)){
					methods_already_seen.add(succ_m);
					queue.add(succ_m);
				}
			}
			
		}
		
	}