Added experimental bed probing code