added db lib