added ping model/resource
add comments