trying to store resources for reuse