probe function