Updated ping and explicit synch code.