slight change to lambda_search