provide required params
new ping command
implement ping method