public void register(Listener l){
			for(Method m: l.getClass().getDeclaredMethods()){
				if(true){
					if(m.isAnnotationPresent(EventHandler.class)){
						
						if(m.getParameterTypes().length==1){
							if(map.containsKey(m.getParameterTypes()[0])){
								//if map has this object listed 
								if(map.get(m.getParameterTypes()[0])!= null){
									addToList(m.getParameterTypes()[0],l);
								}else{
									createList(m.getParameterTypes()[0]);
									addToList(m.getParameterTypes()[0],l);
								}
							}else{
								//if map does not have this object listed
								createList(m.getParameterTypes()[0]);
								addToList(m.getParameterTypes()[0],l);
							}
						}
					}
				}
			}
		}