added new constructor to ExpiringCache