basic results saving logic