minimal database interaction