Existence of periodic solutions