made prefix list and dictionary global