uncomment DB logic