changed hasmap to arraylist for pending requests