Extracting restaurants parameters into a private method.