limit use of db