removed pointless hashmap for memroy