added alan's rock_publisher code