perfecting database