0.0.3: added ping, error handling