added log messages and commenting for methods related to the search room
function