We prove a second fundamental theorem in the sense of Nevanlinna's theory of meromorphic functions replacing the constants$a$in $$\bar N$$ ($r, f, a$) by rational functions$R$with$R(∞)=a$. The key argument is Ahlfors's second fundamental theorem from his theory of covering surfaces.