modify horst codes for probe