uncommented db queries