changed remove cache to be dynamic and not from a list of objects