first pass at ping controller logic