Quantum memory with as ingle two-level atom in ah alf cavity