initial commit, with ping method