added a sample hamiltonian