Initial probe-handling code