trying to equalize database