Use a defer