Database awfull wrapper