adding db component