simple db working.