Some Remarks on the Melnikov Function