Refactoring, add ping method to boxxy