add ping method to Node module