imported cjd's getHops