Title: Relativistic effects in millisecond pulsars and active galactic nuclei