Text this: Periodic perturbations of Hamiltonian systems