Enclose expiration of materials in one function call