minus database manipulations