Controller for ping