added toString method to resource pool