roughing out logsearch from the top down