change arraylist of subscribers to hashmap of subscribers