Added HashMap for finding IP Mode, need to add multiple maxes