added db conn methods