In the present work, we search for the maximum of the functional | ⟨ Φ ′ | H ^ | Φ ⟩ | , where | Φ ′ ⟩ is a Slater Determinant (SlDet) and H ^ is the exact Hamiltonian of an atom or a molecule, starting from a SlDet | Φ ⟩ , with its spin orbitals calculated by the standard Hartree-Fock (HF) equation or other approximation or any determinant. The element | ⟨ Φ 1 | H ^ | Φ ⟩ | with | Φ 1 ⟩ the maximising | Φ ′ ⟩ gives a value greater or equal to | ⟨ Φ | H ^ | Φ ⟩ | . Next we calculate the corresponding maximum overlap | ⟨ Φ 2 | H ^ | Φ 1 ⟩ | and finally | ⟨ Φ n + 1 | H ^ | Φ n ⟩ | until | ⟨ Φ n + 1 | H ^ | Φ n ⟩ − ⟨ Φ n | H ^ | Φ n − 1 ⟩ | ≤ ε , where ε determines the desired numerical accuracy. We show that the sequence ⟨ Φ n + 1 | H ^ | Φ n ⟩ converges to an extremum ⟨ Φ | H ^ | Φ ⟩ . Having found the SlDet with the lowest energy we repeat the procedure in the orthogonal subspace for finding the first and the higher excited states. We applied this method in order to determine the energies of several configurations of H 3 , the Lithium atom, LiH and Be.